package com.zhiyizhen.callnumber.common.view.adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;

import androidx.annotation.LayoutRes;

import java.util.List;

public abstract class CommonAdapter<T> extends BaseCommonAdapter<T, ViewHolder> {

    protected CommonAdapter(Context context, @LayoutRes int layoutResId) {
        super(context, layoutResId);
    }

    protected CommonAdapter(Context context, @LayoutRes int layoutResId, List<T> data) {
        super(context, layoutResId, data);
    }

    @Override
    protected ViewHolder getViewHolder(Context context, int position, View convertView, ViewGroup parent, @LayoutRes int layoutId) {
        return ViewHolder.getViewHolder(context, position, convertView, parent, layoutId);
    }

}
